<?php
$this->breadcrumbs=array(
	'Alertases',
);

$this->menu=array(
	array('label'=>'Crear Alertas', 'url'=>array('create')),
	array('label'=>'Buscar Alertas', 'url'=>array('admin')),
);
?>

<h1>Gestión de Alertas</h1>

<?php
/*
$this->widget('zii.widgets.grid.CGridView', array(
    'id'=>'alertas-grid',
    'dataProvider'=>$model->search(),
    'filter'=>$model,
    'pager'=>array(
        'header'=>'',
        'firstPageLabel'=>'<<',
        'prevPageLabel'=>'<',
        'nextPageLabel'=>'>',
        'lastPageLabel'=>'>>',
    ),
    'columns'=>array(
      
        'codigo_proceso',
        
        array(
            'name'=>'proveedor',
            'value'=>$model->proveedores->razon_social,
                    
        ),        
    ),
));
*/
?>
<table>
	<tr>
		<th>CODIGO</th>
		<th>OBJETO</th>
		<th>PROVEEDOR</th>
		<th>MONTO</th>
		<th>FECHA INICIO</th>
		<th>FECHA FIN</th>		
		<th>% ALERTA</th>
		<th>% ACTUAL</th>
	</tr>
	
<?php 
$this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider,
	'itemView'=>'_view',
)); 
?>
</table>
